package com.sojson.util.kd.kdn.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sojson.base.impl.BaseUtilDto;
import com.sojson.util.kd.kdn.bean.child.param.KdnPamReceiver;
import com.sojson.util.kd.kdn.bean.child.param.KdnPamSender;

/**
 * 快递鸟参数Bean
 * 
 * @author liu
 * @date 2021-04-01
 */
public class KdnParam extends BaseUtilDto {

    /***/
    private static final long serialVersionUID = -4893022357732665198L;

    /** 订单编号 */
    private String orderCode;
    /** 快递公司编码 */
    private String shipperCode;
    /** 快递单号 */
    private String logisticCode;
    /** 顺丰快递传(寄件人/收件人手机号后四位),京东快递传商家编码(由发货方提供,且快递单号必须是通过该商家编码下单获取的)(为其他快递时,可不填或保留字段,不可传值) */
    private String customerName;
    /** 发件信息 */
    private KdnPamSender sender;
    /** 收件信息 */
    private KdnPamReceiver receiver;

    /**
     * 获取订单编号
     * 
     * @return
     */
    @JsonProperty("OrderCode")
    @JSONField(name = "OrderCode")
    public String getOrderCode() {
        return orderCode;
    }

    /**
     * 设置订单编号
     * 
     * @param orderCode
     */
    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    /**
     * 获取快递公司编码
     * 
     * @return
     */
    @JsonProperty("ShipperCode")
    @JSONField(name = "ShipperCode")
    public String getShipperCode() {
        return shipperCode;
    }

    /**
     * 设置快递公司编码
     * 
     * @param shipperCode
     */
    public void setShipperCode(String shipperCode) {
        this.shipperCode = shipperCode;
    }

    /**
     * 获取快递单号
     * 
     * @return
     */
    @JsonProperty("LogisticCode")
    @JSONField(name = "LogisticCode")
    public String getLogisticCode() {
        return logisticCode;
    }

    /**
     * 设置快递单号
     * 
     * @param logisticCode
     */
    public void setLogisticCode(String logisticCode) {
        this.logisticCode = logisticCode;
    }

    /**
     * 获取顺丰快递传(寄件人/收件人手机号后四位),京东快递传商家编码(由发货方提供,且快递单号必须是通过该商家编码下单获取的)(为其他快递时,可不填或保留字段,不可传值)
     * 
     * @return
     */
    @JsonProperty("CustomerName")
    @JSONField(name = "CustomerName")
    public String getCustomerName() {
        return customerName;
    }

    /**
     * 设置顺丰快递传(寄件人/收件人手机号后四位),京东快递传商家编码(由发货方提供,且快递单号必须是通过该商家编码下单获取的)(为其他快递时,可不填或保留字段,不可传值)
     * 
     * @param customerName
     */
    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    /**
     * 获取发件信息
     * 
     * @return
     */
    public KdnPamSender getSender() {
        return sender;
    }

    /**
     * 设置发件信息
     * 
     * @param sender
     */
    public void setSender(KdnPamSender sender) {
        this.sender = sender;
    }

    /**
     * 获取收件信息
     * 
     * @return
     */
    public KdnPamReceiver getReceiver() {
        return receiver;
    }

    /**
     * 设置收件信息
     * 
     * @param receiver
     */
    public void setReceiver(KdnPamReceiver receiver) {
        this.receiver = receiver;
    }

}